package com.hanthink.system.domain.pc;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hanthink.common.annotation.Excel;
import com.hanthink.common.core.domain.BaseEntity;

/**
 * 问题描述对象 EM_RESOURCE_CALL_FAULT
 * 
 * @author hanthink
 * @date 2021-01-25
 */
public class EmResourceCallFault extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工厂 */
	private Long siteKey;

	/** 类型编码 */
	private Long typeKey;

	/** 问题编码 */
	@Excel(name = "问题编码")
	private String faultCode;

	/** 问题描述 */
	@Excel(name = "问题描述")
	private String faultDesc;

	/** 故障等级 */
	@Excel(name = "故障等级 ")
	private String faultRank;

	/** 顺序 */
	@Excel(name = "顺序")
	private Long sortNum;

	/** id */
	private Long id;

	public void setSiteKey(Long siteKey) {
		this.siteKey = siteKey;
	}

	public Long getSiteKey() {
		return siteKey;
	}

	public void setTypeKey(Long typeKey) {
		this.typeKey = typeKey;
	}

	public Long getTypeKey() {
		return typeKey;
	}

	public void setFaultCode(String faultCode) {
		this.faultCode = faultCode;
	}

	public String getFaultCode() {
		return faultCode;
	}

	public void setFaultDesc(String faultDesc) {
		this.faultDesc = faultDesc;
	}

	public String getFaultDesc() {
		return faultDesc;
	}

	public void setSortNum(Long sortNum) {
		this.sortNum = sortNum;
	}

	public Long getSortNum() {
		return sortNum;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public String getFaultRank() {
		return faultRank;
	}

	public void setFaultRank(String faultRank) {
		this.faultRank = faultRank;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("siteKey", getSiteKey())
				.append("typeKey", getTypeKey()).append("faultCode", getFaultCode()).append("faultDesc", getFaultDesc())
				.append("sortNum", getSortNum()).append("id", getId()).append("faultRank", getFaultRank()).toString();
	}
}
